/* Class24 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class24 {
	public static Class39_Sub1 aClass39_Sub1_439;
	public int[] anIntArray440;
	public static JString aClass3_441;
	public static JString aClass3_442;
	public static JString aClass3_443;
	public static JString aClass3_444;
	public static JString aClass3_445;
	public static JString aClass3_446;
	public static JString aClass3_447 = Class39_Sub5_Sub9.createJString(121, " has logged out)3");
	public static int anInt448;
	public static int[] anIntArray449;
	public JString[] aClass3Array450;
	public Class39_Sub5_Sub2 aClass39_Sub5_Sub2_451;
	public static JString aClass3_452;
	public int anInt453 = -1;
	public static int anInt454;
	public static int[][] anIntArrayArray455;
	public static JString aClass3_456;

	public static void method275(int i) {
		OnDemandFetcher.aClass46_1206.method938((byte) -111);
		for (int i_0_ = 0; i_0_ < 32; i_0_++)
			Class39_Sub7.aLongArray1374[i_0_] = 0L;
		for (int i_1_ = 0; i_1_ < 32; i_1_++)
			Class67.aLongArray1172[i_1_] = 0L;
		Class2.anInt50 = 0;
	}

	public static void method276(boolean bool, Class9 class9, Class9 class9_2_, int i) {
		Deque.aClass9_918 = class9_2_;
		Class42.aBoolean785 = bool;
		Class39_Sub5_Sub4_Sub4_Sub1.aClass9_2491 = class9;
	}

	public static void method277(boolean bool) {
		Class62_Sub1.aClass7_1587.method134(27392);
		Class2.aClass7_58.method134(27392);
		Deque.aClass7_916.method134(27392);
	}

	public static void method278(int i, int i_3_) {
		if (i >= 0) {
			int localX = Class12.anIntArray196[i];
			int localY = Class43.anIntArray820[i];
			int i_6_ = Class35.anIntArray621[i];
			if (i_6_ >= 2000)
				i_6_ -= 2000;
			int id = Class11.anIntArray176[i];
			if (GameCharacter.anInt2285 != 0 && i_6_ != 1002) {
				Class14.aBoolean245 = true;
				GameCharacter.anInt2285 = 0;
			}
			if (i_6_ == 32) {
				PacketStream.outputStream.writePacket(182);
				PacketStream.outputStream.writeShortLE(id);
				PacketStream.outputStream.writeShort(localX);
				PacketStream.outputStream.writeIntLE(localY, -242288600);
				Class39_Sub5_Sub5.anInt1739 = localX;
				Class65.anInt1137 = localY;
				Login.anInt459 = 2;
				Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
				if (localY >> 16 == Class39_Sub11.openInterface)
					Login.anInt459 = 1;
				if (localY >> 16 == Tile.anInt1912)
					Login.anInt459 = 3;
			}
			if (i_6_ == 1005) {
				Class39_Sub5_Sub4_Sub4_Sub1.method526(id, localX, false, localY);
				PacketStream.outputStream.writePacket(120);
				PacketStream.outputStream.writeShort(Class35.absoluteRegionY + localY);
				PacketStream.outputStream.writeShort(Class65.absoluteRegionX + localX);
				PacketStream.outputStream.writeShort((id & 0x1ffff835) >> 14);
			}
			if (i_6_ == 12 && Class39_Sub5_Sub4_Sub4_Sub1.method526(id, localX, false, localY)) {
				PacketStream.outputStream.writePacket(78);
				PacketStream.outputStream.writeInt2(Class41.anInt775, -334352184);
				PacketStream.outputStream.writeShort(localX + Class65.absoluteRegionX);
				PacketStream.outputStream.writeShort(Class31.anInt570);
				PacketStream.outputStream.writeShortLE(Class35.absoluteRegionY + localY);
				PacketStream.outputStream.writeShortA(id >> 14 & 0x7fff, (byte) -30);
			}
			if (i_6_ == 8 && Class39_Sub10.anInt1420 == -1) {
				PacketParser.method1035((byte) 4, localX, localY);
				JString.anInt1231 = localX;
				Class39_Sub10.anInt1420 = localY;
			}
			if (i_6_ == 40) {
				boolean bool = Class26.findRoute(i_3_ ^ 0x5e47, 0, localY, 0, 2, 0, 0, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX);
				if (!bool)
					bool = Class26.findRoute(24134, 0, localY, 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX);
				Class4.anInt80 = 2;
				Class26.anInt503 = 0;
				Class62_Sub2.anInt1596 = PacketParser.mouseY;
				Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
				PacketStream.outputStream.writePacket(149);
				PacketStream.outputStream.writeShortLEA(Class65.absoluteRegionX + localX);
				PacketStream.outputStream.writeShortLEA(Class35.absoluteRegionY + localY);
				PacketStream.outputStream.writeShort(id);
			}
			if (i_6_ == 31 || i_6_ == 21 || i_6_ == 2 || i_6_ == 50) {
				JString class3 = Class33.aClass3Array601[i];
				int i_8_ = class3.indexOf(Renderable.aClass3_1728);
				if (i_8_ != -1) {
					long l = class3.substring(i_8_ + 5).trim((byte) -45).toInt64();
					if (i_6_ == 31)
						Class68.method1111(i_3_ - 1, l);
					if (i_6_ == 21)
						Class65.method1097(0, l);
					if (i_6_ == 2)
						Class20.method246(l, (byte) -123);
					if (i_6_ == 50)
						Class19.method237(l, (byte) -97);
				}
			}
			if (i_6_ == 38) {
				boolean bool = Class26.findRoute(24134, 0, localY, 0, 2, 0, 0, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX);
				if (!bool)
					bool = Class26.findRoute(24134, 0, localY, 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX);
				Class4.anInt80 = 2;
				Class62_Sub2.anInt1596 = PacketParser.mouseY;
				Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
				Class26.anInt503 = 0;
				PacketStream.outputStream.writePacket(252);
				PacketStream.outputStream.writeShortLEA(id);
				PacketStream.outputStream.writeShortLEA(Class65.absoluteRegionX + localX);
				PacketStream.outputStream.writeShortLEA(Class35.absoluteRegionY + localY);
			}
			if (i_6_ == 28) {
				PacketStream.outputStream.writePacket(0);
				PacketStream.outputStream.writeShortLE(localX);
				PacketStream.outputStream.writeShort(id);
				PacketStream.outputStream.writeIntLE(localY, -242288600);
				Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
				Class65.anInt1137 = localY;
				Class39_Sub5_Sub5.anInt1739 = localX;
				Login.anInt459 = 2;
				if (Class39_Sub11.openInterface == localY >> 16)
					Login.anInt459 = 1;
				if (Tile.anInt1912 == localY >> 16)
					Login.anInt459 = 3;
			}
			if (i_6_ == 35) {
				PacketStream.outputStream.writePacket(144);
				PacketStream.outputStream.writeShortLEA(localX);
				PacketStream.outputStream.writeInt(localY);
				PacketStream.outputStream.writeShortLE(id);
				Class39_Sub5_Sub5.anInt1739 = localX;
				Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
				Class65.anInt1137 = localY;
				Login.anInt459 = 2;
				if (Class39_Sub11.openInterface == localY >> 16)
					Login.anInt459 = 1;
				if (localY >> 16 == Tile.anInt1912)
					Login.anInt459 = 3;
			}
			if (i_6_ == 14) {
				RSInterface class39_sub5_sub17 = Class62_Sub2.method1081(localY, localX, 0);
				if (class39_sub5_sub17 != null) {
					GameCharacter.method509((byte) 39);
					Login.method281(class39_sub5_sub17.method751((byte) -19), localX, localY, true);
					Class39_Sub14.aBoolean1520 = true;
					Class13.anInt208 = 0;
					client.aClass3_1273 = class39_sub5_sub17.method762(Class19.aBoolean361, 64);
					if (client.aClass3_1273 == null)
						client.aClass3_1273 = Class41.aClass3_774;
					if (class39_sub5_sub17.aBoolean2013)
						Class14.aClass3_216 = (Class39_Sub5_Sub11.method708((new JString[] { class39_sub5_sub17.aClass3_2065, Renderable.aClass3_1728 }), i_3_ + 14568));
					else
						Class14.aClass3_216 = (Class39_Sub5_Sub11.method708((new JString[] { Class41.aClass3_783, class39_sub5_sub17.aClass3_2066, Renderable.aClass3_1728 }), i_3_ + 14568));
					if (Class41.anInt776 == 16 && !class39_sub5_sub17.aBoolean2013) {
						Node.anInt728 = 3;
						ISAAC.aBoolean1089 = true;
						Class39_Sub14.aBoolean1520 = true;
					}
				}
			} else {
				if (i_6_ == 42) {
					Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1 = (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241[id]);
					if (class39_sub5_sub4_sub4_sub1 != null) {
						Class26.findRoute(i_3_ + 24133, 0, class39_sub5_sub4_sub4_sub1.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub1.anIntArray2314[0]);
						Class4.anInt80 = 2;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class26.anInt503 = 0;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						PacketStream.outputStream.writePacket(154);
						PacketStream.outputStream.writeShort(id);
					}
				}
				if (i_6_ == 47) {
					Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1 = (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241[id]);
					if (class39_sub5_sub4_sub4_sub1 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub1.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub1.anIntArray2314[0]);
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class26.anInt503 = 0;
						Class4.anInt80 = 2;
						PacketStream.outputStream.writePacket(146);
						PacketStream.outputStream.writeInt1(Class39_Sub10.anInt1430);
						PacketStream.outputStream.writeShort(Class63.anInt1128);
						PacketStream.outputStream.writeShort(Class23.anInt428);
						PacketStream.outputStream.writeShortLEA(id);
					}
				}
				if (i_6_ == 53) {
					Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1 = (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241[id]);
					if (class39_sub5_sub4_sub4_sub1 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub1.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub1.anIntArray2314[0]);
						Class26.anInt503 = 0;
						Class4.anInt80 = 2;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						PacketStream.outputStream.writePacket(222);
						PacketStream.outputStream.writeShortLEA(id);
					}
				}
				if (i_6_ == 4) {
					boolean bool = Class26.findRoute(i_3_ + 24133, 0, localY, 0, 2, 0, 0, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX);
					if (!bool)
						bool = (Class26.findRoute(24134, 0, localY, 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX));
					Class4.anInt80 = 2;
					Class62_Sub2.anInt1596 = PacketParser.mouseY;
					Class26.anInt503 = 0;
					Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
					PacketStream.outputStream.writePacket(114);
					PacketStream.outputStream.writeShortLE(Class63.anInt1128);
					PacketStream.outputStream.writeShortA(localY + Class35.absoluteRegionY, (byte) -30);
					PacketStream.outputStream.writeInt(Class39_Sub10.anInt1430);
					PacketStream.outputStream.writeShortA(localX + Class65.absoluteRegionX, (byte) -30);
					PacketStream.outputStream.writeShortLE(id);
					PacketStream.outputStream.writeShortLEA(Class23.anInt428);
				}
				if (i_6_ == 49) {
					PacketStream.outputStream.writePacket(171);
					PacketStream.outputStream.writeShortA(localX, (byte) -30);
					PacketStream.outputStream.writeInt(localY);
					PacketStream.outputStream.writeShortLE(id);
					Class65.anInt1137 = localY;
					Login.anInt459 = 2;
					Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
					Class39_Sub5_Sub5.anInt1739 = localX;
					if (Class39_Sub11.openInterface == localY >> 16)
						Login.anInt459 = 1;
					if (Tile.anInt1912 == localY >> 16)
						Login.anInt459 = 3;
				}
				if (i_6_ == 26) {
					PacketStream.outputStream.writePacket(188);
					PacketStream.outputStream.writeShortLEA(localX);
					PacketStream.outputStream.writeShortLEA(id);
					PacketStream.outputStream.writeInt1(localY);
					Class39_Sub5_Sub5.anInt1739 = localX;
					Login.anInt459 = 2;
					if (Class39_Sub11.openInterface == localY >> 16)
						Login.anInt459 = 1;
					if (Tile.anInt1912 == localY >> 16)
						Login.anInt459 = 3;
					Class65.anInt1137 = localY;
					Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
				}
				if (i_6_ == 11) {
					boolean bool = Class26.findRoute(i_3_ ^ 0x5e47, 0, localY, 0, 2, 0, 0, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX);
					if (!bool)
						bool = (Class26.findRoute(24134, 0, localY, 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX));
					Class26.anInt503 = 0;
					Class62_Sub2.anInt1596 = PacketParser.mouseY;
					Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
					Class4.anInt80 = 2;
					PacketStream.outputStream.writePacket(38);
					PacketStream.outputStream.writeShortLE(id);
					PacketStream.outputStream.writeShortA(Class35.absoluteRegionY + localY, (byte) -30);
					PacketStream.outputStream.writeShort(Class65.absoluteRegionX + localX);
				}
				if (i_6_ == 43) {
					Class39_Sub5_Sub4_Sub4_Sub1.method526(id, localX, false, localY);
					PacketStream.outputStream.writePacket(69);
					PacketStream.outputStream.writeShortLE((id & 0x1fffcb21) >> 14);
					PacketStream.outputStream.writeShort(localY + Class35.absoluteRegionY);
					PacketStream.outputStream.writeShort(Class65.absoluteRegionX + localX);
				}
				if (i_6_ == 48) {
					Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1 = (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241[id]);
					if (class39_sub5_sub4_sub4_sub1 != null) {
						Class26.findRoute(i_3_ + 24133, 0, class39_sub5_sub4_sub4_sub1.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub1.anIntArray2314[0]);
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class26.anInt503 = 0;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class4.anInt80 = 2;
						PacketStream.outputStream.writePacket(200);
						PacketStream.outputStream.writeShortLE(Class31.anInt570);
						PacketStream.outputStream.writeIntLE(Class41.anInt775, -242288600);
						PacketStream.outputStream.writeShort(id);
					}
				}
				if (i_6_ == 58) {
					Player class39_sub5_sub4_sub4_sub2 = Class14.aClass39_Sub5_Sub4_Sub4_Sub2Array211[id];
					if (class39_sub5_sub4_sub4_sub2 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub2.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub2.anIntArray2314[0]);
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class26.anInt503 = 0;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class4.anInt80 = 2;
						PacketStream.outputStream.writePacket(104);
						PacketStream.outputStream.writeInt2(Class39_Sub10.anInt1430, -334352184);
						PacketStream.outputStream.writeShortLEA(Class23.anInt428);
						PacketStream.outputStream.writeShortLE(id);
						PacketStream.outputStream.writeShortLEA(Class63.anInt1128);
					}
				}
				if (i_6_ == 45 && Class39_Sub5_Sub4_Sub4_Sub1.method526(id, localX, false, localY)) {
					PacketStream.outputStream.writePacket(195);
					PacketStream.outputStream.writeShortLEA(localY + Class35.absoluteRegionY);
					PacketStream.outputStream.writeShortLE((id & 0x1ffffabb) >> 14);
					PacketStream.outputStream.writeShortA(Class63.anInt1128, (byte) -30);
					PacketStream.outputStream.writeShortLE(Class23.anInt428);
					PacketStream.outputStream.writeShortLEA(localX + Class65.absoluteRegionX);
					PacketStream.outputStream.writeIntLE(Class39_Sub10.anInt1430, -242288600);
				}
				if (i_6_ == 1004) {
					RSInterface class39_sub5_sub17 = Class37.getInterface((byte) 30, localY);
					if (class39_sub5_sub17 != null && class39_sub5_sub17.anIntArray2073[localX] >= 100000)
						Class42.pushMessage(Class66.aClass3_1164, (Class39_Sub5_Sub11.method708((new JString[] { Class57.method1007((byte) 71, (class39_sub5_sub17.anIntArray2073[localX])), Class30.aClass3_543, (Class26.method291(i_3_ ^ ~0x63, id).aClass3_1661) }), 14569)), false, 0);
					else {
						Class39_Sub5_Sub3.anInt1724++;
						PacketStream.outputStream.writePacket(219);
						PacketStream.outputStream.writeShortA(id, (byte) -30);
					}
					Class39_Sub5_Sub5.anInt1739 = localX;
					Login.anInt459 = 2;
					if (Class39_Sub11.openInterface == localY >> 16)
						Login.anInt459 = 1;
					if (localY >> 16 == Tile.anInt1912)
						Login.anInt459 = 3;
					Class65.anInt1137 = localY;
					Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
				}
				if (i_6_ == 25) {
					PacketStream.outputStream.writePacket(221);
					PacketStream.outputStream.writeInt2(localY, -334352184);
					PacketStream.outputStream.writeShortLEA(localX);
					PacketStream.outputStream.writeShort(id);
					Class65.anInt1137 = localY;
					Login.anInt459 = 2;
					Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
					Class39_Sub5_Sub5.anInt1739 = localX;
					if (localY >> 16 == Class39_Sub11.openInterface)
						Login.anInt459 = 1;
					if (Tile.anInt1912 == localY >> 16)
						Login.anInt459 = 3;
				}
				if (i_6_ == 6) {
					Class39_Sub5_Sub4_Sub4_Sub1.method526(id, localX, false, localY);
					PacketStream.outputStream.writePacket(202);
					PacketStream.outputStream.writeShort(id >> 14 & 0x7fff);
					PacketStream.outputStream.writeShortA(Class65.absoluteRegionX + localX, (byte) -30);
					PacketStream.outputStream.writeShortLEA(Class35.absoluteRegionY + localY);
				}
				if (i_6_ == 19) {
					PacketStream.outputStream.writePacket(178);
					PacketStream.outputStream.writeShortLEA(localX);
					PacketStream.outputStream.writeShortA(id, (byte) -30);
					PacketStream.outputStream.writeInt1(localY);
					Login.anInt459 = 2;
					if (localY >> 16 == Class39_Sub11.openInterface)
						Login.anInt459 = 1;
					Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
					if (localY >> 16 == Tile.anInt1912)
						Login.anInt459 = 3;
					Class39_Sub5_Sub5.anInt1739 = localX;
					Class65.anInt1137 = localY;
				}
				if (i_6_ == 33) {
					if (!Class39_Sub12.aBoolean1493)
						Class44.aClass38_836.method355((Class39_Sub4.mouseX - 4), PacketParser.mouseY - 4);
					else
						Class44.aClass38_836.method355(localX - 4, localY - 4);
				}
				if (i_6_ == 24) {
					Class62_Sub2.method1084((byte) -35, ISAAC.anInt1095);
					ISAAC.anInt1095 = -1;
					Class14.aBoolean245 = true;
				}
				if (i_6_ == 34) {
					boolean bool = Class26.findRoute(24134, 0, localY, 0, 2, 0, 0, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX);
					if (!bool)
						bool = (Class26.findRoute(i_3_ + 24133, 0, localY, 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX));
					Class4.anInt80 = 2;
					Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
					Class26.anInt503 = 0;
					Class62_Sub2.anInt1596 = PacketParser.mouseY;
					PacketStream.outputStream.writePacket(85);
					PacketStream.outputStream.writeShortA(localY + Class35.absoluteRegionY, (byte) -30);
					PacketStream.outputStream.writeShortLEA(Class65.absoluteRegionX + localX);
					PacketStream.outputStream.writeShortLEA(id);
				}
				if (i_6_ == 51)
					Class34.method333(localY, localX, id, 1);
				if (i_6_ == 1) {
					Player class39_sub5_sub4_sub4_sub2 = Class14.aClass39_Sub5_Sub4_Sub4_Sub2Array211[id];
					if (class39_sub5_sub4_sub4_sub2 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub2.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub2.anIntArray2314[0]);
						Class26.anInt503 = 0;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class4.anInt80 = 2;
						PacketStream.outputStream.writePacket(206);
						PacketStream.outputStream.writeShort(id);
					}
				}
				if (i_6_ == 10) {
					JString class3 = Class33.aClass3Array601[i];
					int i_9_ = class3.indexOf(Renderable.aClass3_1728);
					if (i_9_ != -1) {
						long l = class3.substring(i_9_ + 5).trim((byte) -45).toInt64();
						int i_10_ = -1;
						for (int i_11_ = 0; Class4.anInt62 > i_11_; i_11_++) {
							if (l == Applet_Sub1.aLongArray2[i_11_]) {
								i_10_ = i_11_;
								break;
							}
						}
						if (i_10_ != -1 && (Player.anIntArray2533[i_10_]) > 0) {
							Class14.aBoolean245 = true;
							Class39_Sub12.aBoolean1489 = true;
							Class15.anInt277 = 3;
							GameCharacter.anInt2285 = 0;
							Class66.aClass3_1154 = Class66.aClass3_1164;
							Class40.aLong752 = Applet_Sub1.aLongArray2[i_10_];
							Class66.aClass3_1150 = (Class39_Sub5_Sub11.method708(new JString[] { Class41.aClass3_781, (Class39_Sub5_Sub4_Sub1.aClass3Array2188[i_10_]) }, 14569));
						}
					}
				}
				if (i_3_ != 1)
					method278(87, -70);
				if (i_6_ == 36) {
					PacketStream.outputStream.writePacket(54);
					PacketStream.outputStream.writeInt(localY);
					Class39_Sub5_Sub12.anInt1848++;
					RSInterface class39_sub5_sub17 = Class37.getInterface((byte) 29, localY);
					if (class39_sub5_sub17.configValues != null && class39_sub5_sub17.configValues[0][0] == 5) {
						int i_12_ = class39_sub5_sub17.configValues[0][1];
						Class66.anIntArray1152[i_12_] = -Class66.anIntArray1152[i_12_] + 1;
						Node.method408(i_12_, 1);
						Class39_Sub14.aBoolean1520 = true;
					}
				}
				if (i_6_ == 1001) {
					Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
					Class26.anInt503 = 0;
					Class4.anInt80 = 2;
					Class62_Sub2.anInt1596 = PacketParser.mouseY;
					Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1 = (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241[id]);
					if (class39_sub5_sub4_sub4_sub1 != null) {
						Class39_Sub5_Sub13 class39_sub5_sub13 = (class39_sub5_sub4_sub4_sub1.aClass39_Sub5_Sub13_2492);
						if (class39_sub5_sub13.anIntArray1878 != null)
							class39_sub5_sub13 = class39_sub5_sub13.method721(5585);
						if (class39_sub5_sub13 != null) {
							PacketStream.outputStream.writePacket(158);
							PacketStream.outputStream.writeShort(class39_sub5_sub13.anInt1874);
						}
					}
				}
				if (i_6_ == 15 || i_6_ == 37) {
					JString class3 = Class33.aClass3Array601[i];
					int i_13_ = class3.indexOf(Renderable.aClass3_1728);
					if (i_13_ != -1) {
						class3 = class3.substring(i_13_ + 5).trim((byte) -45);
						JString class3_14_ = class3.formatUsername(-32769).capitalizeAfterQuestion((byte) -126);
						boolean bool = false;
						for (int i_15_ = 0; i_15_ < CollisionMap.anInt515; i_15_++) {
							Player class39_sub5_sub4_sub4_sub2 = (Class14.aClass39_Sub5_Sub4_Sub4_Sub2Array211[Class1.anIntArray40[i_15_]]);
							if (class39_sub5_sub4_sub4_sub2 != null && (class39_sub5_sub4_sub4_sub2.aClass3_2521 != null) && class39_sub5_sub4_sub4_sub2.aClass3_2521.equalsIgnoreCase(class3_14_)) {
								bool = true;
								Class26.findRoute(24134, 0, (class39_sub5_sub4_sub4_sub2.anIntArray2255[0]), 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), (class39_sub5_sub4_sub4_sub2.anIntArray2314[0]));
								if (i_6_ == 15) {
									PacketStream.outputStream.writePacket(101);
									Class39_Sub5_Sub16.anInt1976++;
									PacketStream.outputStream.writeShortLEA(Class1.anIntArray40[i_15_]);
								}
								if (i_6_ == 37) {
									PacketStream.outputStream.writePacket(11);
									PacketStream.outputStream.writeShortLEA(Class1.anIntArray40[i_15_]);
									Class39_Sub5_Sub4_Sub2.anInt2220++;
								}
								break;
							}
						}
						if (!bool)
							Class42.pushMessage(Class66.aClass3_1164, (Class39_Sub5_Sub11.method708((new JString[] { Stream.aClass3_1365, class3_14_ }), i_3_ ^ 0x38e8)), false, 0);
					}
				}
				if (i_6_ == 27) {
					boolean bool = Class26.findRoute(i_3_ + 24133, 0, localY, 0, 2, 0, 0, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX);
					if (!bool)
						bool = (Class26.findRoute(24134, 0, localY, 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX));
					Class26.anInt503 = 0;
					Class62_Sub2.anInt1596 = PacketParser.mouseY;
					Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
					Class4.anInt80 = 2;
					PacketStream.outputStream.writePacket(64);
					PacketStream.outputStream.writeShortLEA(id);
					PacketStream.outputStream.writeInt2(Class41.anInt775, -334352184);
					PacketStream.outputStream.writeShort(Class35.absoluteRegionY + localY);
					PacketStream.outputStream.writeShortLEA(Class65.absoluteRegionX + localX);
					PacketStream.outputStream.writeShortLEA(Class31.anInt570);
				}
				if (i_6_ == 16) {
					PacketStream.outputStream.writePacket(29);
					PacketStream.outputStream.writeInt1(localY);
					PacketStream.outputStream.writeShort(id);
					PacketStream.outputStream.writeShortA(localX, (byte) -30);
					Login.anInt459 = 2;
					Class39_Sub5_Sub5.anInt1739 = localX;
					Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
					Class65.anInt1137 = localY;
					if (localY >> 16 == Class39_Sub11.openInterface)
						Login.anInt459 = 1;
					if (localY >> 16 == Tile.anInt1912)
						Login.anInt459 = 3;
				}
				if (i_6_ == 7) {
					Player class39_sub5_sub4_sub4_sub2 = Class14.aClass39_Sub5_Sub4_Sub4_Sub2Array211[id];
					if (class39_sub5_sub4_sub4_sub2 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub2.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub2.anIntArray2314[0]);
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class4.anInt80 = 2;
						Class26.anInt503 = 0;
						PacketStream.outputStream.writePacket(236);
						PacketStream.outputStream.writeShortA(id, (byte) -30);
						PacketStream.outputStream.writeShortA(Class31.anInt570, (byte) -30);
						PacketStream.outputStream.writeIntLE(Class41.anInt775, i_3_ - 242288601);
					}
				}
				if (i_6_ == 18) {
					PacketStream.outputStream.writePacket(147);
					PacketStream.outputStream.writeShortA(Class23.anInt428, (byte) -30);
					PacketStream.outputStream.writeShortLE(Class63.anInt1128);
					PacketStream.outputStream.writeShortLE(id);
					PacketStream.outputStream.writeIntLE(localY, -242288600);
					PacketStream.outputStream.writeInt2(Class39_Sub10.anInt1430, -334352184);
					PacketStream.outputStream.writeShort(localX);
					Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
					Class65.anInt1137 = localY;
					Login.anInt459 = 2;
					if (localY >> 16 == Class39_Sub11.openInterface)
						Login.anInt459 = 1;
					if (localY >> 16 == Tile.anInt1912)
						Login.anInt459 = 3;
					Class39_Sub5_Sub5.anInt1739 = localX;
				}
				if (i_6_ == 55) {
					Class39_Sub5_Sub4_Sub4_Sub1.method526(id, localX, false, localY);
					PacketStream.outputStream.writePacket(47);
					PacketStream.outputStream.writeShortA(Class35.absoluteRegionY + localY, (byte) -30);
					PacketStream.outputStream.writeShortLEA(id >> 14 & 0x7fff);
					PacketStream.outputStream.writeShortA(Class65.absoluteRegionX + localX, (byte) -30);
				}
				if (i_6_ == 46) {
					Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1 = (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241[id]);
					if (class39_sub5_sub4_sub4_sub1 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub1.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub1.anIntArray2314[0]);
						Class26.anInt503 = 0;
						Class4.anInt80 = 2;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						PacketStream.outputStream.writePacket(87);
						PacketStream.outputStream.writeShort(id);
					}
				}
				if (i_6_ == 13) {
					Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1 = (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241[id]);
					if (class39_sub5_sub4_sub4_sub1 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub1.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub1.anIntArray2314[0]);
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class26.anInt503 = 0;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class4.anInt80 = 2;
						PacketStream.outputStream.writePacket(89);
						PacketStream.outputStream.writeShortLEA(id);
					}
				}
				if (i_6_ == 56) {
					Player class39_sub5_sub4_sub4_sub2 = Class14.aClass39_Sub5_Sub4_Sub4_Sub2Array211[id];
					if (class39_sub5_sub4_sub4_sub2 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub2.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub2.anIntArray2314[0]);
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class26.anInt503 = 0;
						Class39_Sub5_Sub16.anInt1976++;
						Class4.anInt80 = 2;
						PacketStream.outputStream.writePacket(101);
						PacketStream.outputStream.writeShortLEA(id);
					}
				}
				if (i_6_ == 20) {
					boolean bool = true;
					RSInterface class39_sub5_sub17 = Class37.getInterface((byte) 98, localY);
					if (class39_sub5_sub17.anInt2078 > 0)
						bool = Class48.method951(class39_sub5_sub17, (byte) -36);
					if (bool) {
						PacketStream.outputStream.writePacket(54);
						PacketStream.outputStream.writeInt(localY);
						Class39_Sub5_Sub12.anInt1848++;
					}
				}
				if (i_6_ == 57) {
					Class39_Sub5_Sub4_Sub4_Sub1.method526(id, localX, false, localY);
					PacketStream.outputStream.writePacket(245);
					PacketStream.outputStream.writeShort(localX + Class65.absoluteRegionX);
					PacketStream.outputStream.writeShort(id >> 14 & 0x7fff);
					PacketStream.outputStream.writeShortA(Class35.absoluteRegionY + localY, (byte) -30);
				}
				if (i_6_ == 41) {
					Class39_Sub5_Sub12.anInt1848++;
					PacketStream.outputStream.writePacket(54);
					PacketStream.outputStream.writeInt(localY);
					RSInterface class39_sub5_sub17 = Class37.getInterface((byte) 64, localY);
					if (class39_sub5_sub17.configValues != null && class39_sub5_sub17.configValues[0][0] == 5) {
						int i_16_ = class39_sub5_sub17.configValues[0][1];
						if (Class66.anIntArray1152[i_16_] != class39_sub5_sub17.anIntArray2017[0]) {
							Class66.anIntArray1152[i_16_] = class39_sub5_sub17.anIntArray2017[0];
							Node.method408(i_16_, i_3_);
							Class39_Sub14.aBoolean1520 = true;
						}
					}
				}
				if (i_6_ == 1003) {
					Class39_Sub5_Sub3.anInt1724++;
					Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
					Class62_Sub2.anInt1596 = PacketParser.mouseY;
					Class4.anInt80 = 2;
					Class26.anInt503 = 0;
					PacketStream.outputStream.writePacket(219);
					PacketStream.outputStream.writeShortA(id, (byte) -30);
				}
				if (i_6_ == 17) {
					Class39_Sub5_Sub4_Sub4_Sub1 class39_sub5_sub4_sub4_sub1 = (Class39_Sub5_Sub4_Sub3.aClass39_Sub5_Sub4_Sub4_Sub1Array2241[id]);
					if (class39_sub5_sub4_sub4_sub1 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub1.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub1.anIntArray2314[0]);
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class4.anInt80 = 2;
						Class26.anInt503 = 0;
						PacketStream.outputStream.writePacket(224);
						PacketStream.outputStream.writeShort(id);
					}
				}
				if (i_6_ == 22) {
					Player class39_sub5_sub4_sub4_sub2 = Class14.aClass39_Sub5_Sub4_Sub4_Sub2Array211[id];
					if (class39_sub5_sub4_sub4_sub2 != null) {
						Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub2.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), class39_sub5_sub4_sub4_sub2.anIntArray2314[0]);
						Class4.anInt80 = 2;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class26.anInt503 = 0;
						PacketStream.outputStream.writePacket(169);
						PacketStream.outputStream.writeShortLEA(id);
					}
				}
				if (i_6_ == 30) {
					PacketStream.outputStream.writePacket(113);
					PacketStream.outputStream.writeInt2(localY, -334352184);
					PacketStream.outputStream.writeShortLE(id);
					PacketStream.outputStream.writeShortLEA(localX);
					Class65.anInt1137 = localY;
					Class39_Sub5_Sub5.anInt1739 = localX;
					Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
					Login.anInt459 = 2;
					if (localY >> 16 == Class39_Sub11.openInterface)
						Login.anInt459 = 1;
					if (Tile.anInt1912 == localY >> 16)
						Login.anInt459 = 3;
				}
				if (i_6_ == 23) {
					GameCharacter.method509((byte) 39);
					Class13.anInt208 = 1;
					Class63.anInt1128 = id;
					Class23.anInt428 = localX;
					Class39_Sub14.aBoolean1520 = true;
					Class39_Sub10.anInt1430 = localY;
					Class39_Sub10.aClass3_1436 = (Class39_Sub5_Sub11.method708((new JString[] { PacketStream.aClass3_2147, Class26.method291(-11, id).aClass3_1661, Renderable.aClass3_1728 }), i_3_ + 14568));
					if (Class39_Sub10.aClass3_1436 == null)
						Class39_Sub10.aClass3_1436 = Class36.aClass3_633;
				} else {
					if (i_6_ == 3) {
						boolean bool = (Class26.findRoute(24134, 0, localY, 0, 2, 0, 0, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX));
						if (!bool)
							bool = (Class26.findRoute(24134, 0, localY, 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), localX));
						Class26.anInt503 = 0;
						Class4.anInt80 = 2;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						PacketStream.outputStream.writePacket(136);
						PacketStream.outputStream.writeShortA(localX + Class65.absoluteRegionX, (byte) -30);
						PacketStream.outputStream.writeShortLE(id);
						PacketStream.outputStream.writeShort(localY + Class35.absoluteRegionY);
					}
					if (i_6_ == 29)
						Class55.method999(31121);
					if (i_6_ == 39) {
						PacketStream.outputStream.writePacket(145);
						PacketStream.outputStream.writeInt(Class41.anInt775);
						PacketStream.outputStream.writeInt(localY);
						PacketStream.outputStream.writeShortA(Class31.anInt570, (byte) -30);
						PacketStream.outputStream.writeShortLEA(localX);
					}
					if (i_6_ == 9) {
						JString class3 = Class33.aClass3Array601[i];
						int i_17_ = class3.indexOf(Renderable.aClass3_1728);
						if (i_17_ != -1) {
							if (Class39_Sub11.openInterface == -1) {
								Class55.method999(31121);
								if (Class48.anInt907 != -1) {
									Class66.aClass3_1163 = class3.substring(i_17_ + 5).trim((byte) -45);
									Class39_Sub12.aBoolean1487 = false;
									Class26.anInt473 = Class39_Sub11.openInterface = Class48.anInt907;
								}
							} else
								Class42.pushMessage(Class66.aClass3_1164, Class31.aClass3_572, false, 0);
						}
					}
					if (i_6_ == 54) {
						PacketStream.outputStream.writePacket(48);
						PacketStream.outputStream.writeShortA(localX, (byte) -30);
						PacketStream.outputStream.writeInt1(localY);
						PacketStream.outputStream.writeShortLE(id);
						Login.anInt459 = 2;
						Class65.anInt1137 = localY;
						Class39_Sub5_Sub5.anInt1739 = localX;
						if (Class39_Sub11.openInterface == localY >> 16)
							Login.anInt459 = 1;
						if (Tile.anInt1912 == localY >> 16)
							Login.anInt459 = 3;
						Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
					}
					if (i_6_ == 1006) {
						Class62_Sub2.anInt1596 = PacketParser.mouseY;
						Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
						Class4.anInt80 = 2;
						Class26.anInt503 = 0;
						PacketStream.outputStream.writePacket(36);
						PacketStream.outputStream.writeShortLE(id >> 14 & 0x7fff);
					}
					if (i_6_ == 5) {
						PacketStream.outputStream.writePacket(243);
						PacketStream.outputStream.writeInt(localY);
						PacketStream.outputStream.writeShortA(localX, (byte) -30);
						PacketStream.outputStream.writeInt2(Class41.anInt775, -334352184);
						PacketStream.outputStream.writeShortLEA(id);
						PacketStream.outputStream.writeShortLE(Class31.anInt570);
						Class39_Sub5_Sub5.anInt1739 = localX;
						Login.anInt459 = 2;
						Class65.anInt1137 = localY;
						if (localY >> 16 == Class39_Sub11.openInterface)
							Login.anInt459 = 1;
						Class39_Sub5_Sub4_Sub3.anInt2242 = 0;
						if (localY >> 16 == Tile.anInt1912)
							Login.anInt459 = 3;
					}
					if (i_6_ == 52) {
						Player class39_sub5_sub4_sub4_sub2 = (Class14.aClass39_Sub5_Sub4_Sub4_Sub2Array211[id]);
						if (class39_sub5_sub4_sub4_sub2 != null) {
							Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub2.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), (class39_sub5_sub4_sub4_sub2.anIntArray2314[0]));
							Class4.anInt80 = 2;
							Class62_Sub2.anInt1596 = PacketParser.mouseY;
							Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
							Class26.anInt503 = 0;
							PacketStream.outputStream.writePacket(229);
							PacketStream.outputStream.writeShortA(id, (byte) -30);
						}
					}
					if (i_6_ == 44) {
						Player class39_sub5_sub4_sub4_sub2 = (Class14.aClass39_Sub5_Sub4_Sub4_Sub2Array211[id]);
						if (class39_sub5_sub4_sub4_sub2 != null) {
							Class26.findRoute(24134, 0, class39_sub5_sub4_sub4_sub2.anIntArray2255[0], 0, 2, 1, 1, false, 0, (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2314[0]), (Class7.aClass39_Sub5_Sub4_Sub4_Sub2_109.anIntArray2255[0]), (class39_sub5_sub4_sub4_sub2.anIntArray2314[0]));
							Class62_Sub1.anInt1590 = Class39_Sub4.mouseX;
							Class4.anInt80 = 2;
							Class26.anInt503 = 0;
							Class39_Sub5_Sub4_Sub2.anInt2220++;
							Class62_Sub2.anInt1596 = PacketParser.mouseY;
							PacketStream.outputStream.writePacket(11);
							PacketStream.outputStream.writeShortLEA(id);
						}
					}
					if (Class13.anInt208 != 0) {
						Class39_Sub14.aBoolean1520 = true;
						Class13.anInt208 = 0;
					}
					if (ISAAC.aBoolean1100) {
						GameCharacter.method509((byte) 39);
						Class39_Sub14.aBoolean1520 = true;
					}
				}
			}
		}
	}

	public static int method279(int i, boolean bool, int i_18_) {
		if (i < i_18_) {
			int i_19_ = i;
			i = i_18_;
			i_18_ = i_19_;
		}
		int i_20_;
		for (/**/; i_18_ != 0; i_18_ = i_20_) {
			i_20_ = i % i_18_;
			i = i_18_;
		}
		return i;
	}

	public static void method280(boolean bool) {
		aClass39_Sub1_439 = null;
		aClass3_444 = null;
		aClass3_452 = null;
		aClass3_456 = null;
		aClass3_443 = null;
		aClass3_445 = null;
		anIntArray449 = null;
		aClass3_442 = null;
		anIntArrayArray455 = null;
		aClass3_446 = null;
		aClass3_441 = null;
		aClass3_447 = null;
	}

	static {
		aClass3_445 = Class39_Sub5_Sub9.createJString(125, "Benutzen Sie bitte eine andere Welt)3");
		aClass3_446 = Class39_Sub5_Sub9.createJString(118, "cross");
		aClass3_452 = Class39_Sub5_Sub9.createJString(124, "Ung-Ultige Session)2ID)3");
		aClass3_441 = Class39_Sub5_Sub9.createJString(115, "Lade Freunde)2Liste)3)3)3");
		aClass3_444 = Class39_Sub5_Sub9.createJString(110, "Lade Wordpack )2 ");
		anIntArray449 = new int[5];
		aClass3_442 = aClass3_447;
		aClass3_443 = Class39_Sub5_Sub9.createJString(125, "(U1");
		anInt448 = 0;
		anIntArrayArray455 = new int[104][104];
		aClass3_456 = Class39_Sub5_Sub9.createJString(107, "(Z");
	}
}
